﻿// This software is the confidential and proprietary information of NetBay.
// Such confidential information should not be disclosed.
// NetBay copyright(c) 2012

#region

using System.ServiceModel;
using NetBay.Core.BusinessEntities;

#endregion

namespace Rio.Workflow.Runtime
{
    [MessageContract(WrapperName = "ChronoResponse", IsWrapped = true)]
    public class ChronoResponse
    {
        #region Constructors

        /// <summary>
        /// Initializes a new instance of the <see cref="ChronoResponse" /> class.
        /// </summary>
        public ChronoResponse()
        {
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="ChronoResponse" /> class.
        /// </summary>
        /// <param name="result">The result.</param>
        public ChronoResponse(Item result)
        {
            Item = result;
        }

        #endregion

        #region Instance Properties

        /// <summary>
        /// Gets or sets the result.
        /// </summary>
        /// <value>The result.</value>
        [MessageBodyMember(Order = 0)]
        public Item Item { get; set; }

        #endregion
    }
}